package demo.producer;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Component;

/**
 * Source :  消息来源，  生产者
 */
@Component
public interface MySource {

    @Output("output1")
    MessageChannel output1();

    @Output("outputTX")
    MessageChannel outputTX();
}
